package io.yx.api.controller;

import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YX
 * @datetime 2025/9/28 12:02
 *
 */
@RestController
@RequestMapping({"/", ""})
@Log4j2
public class IndexController {

    @GetMapping({"", "/"})
    public String index() {
        return "application is running";
    }

}
